package com.itheima.zixi1.ZuoYe.ZuoYe1;

public class Runman extends Peolpe11{
    private String id;
    private String classroom;

    public Runman() {
    }

    public Runman(String id, String classroom) {
        this.id = id;
        this.classroom = classroom;
    }

    public Runman(String name, int age, String sex, String id, String classroom) {
        super(name, age, sex);
        this.id = id;
        this.classroom = classroom;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getClassroom() {
        return classroom;
    }

    public void setClassroom(String classroom) {
        this.classroom = classroom;
    }

    @Override
    public void eat() {
        System.out.println("吃营养餐");
    }
}
